package com.thinkcms.service.service.upload.clients;

import com.thinkcms.core.utils.ApiResult;
import com.thinkcms.service.dto.upload.Chunk;
import com.thinkcms.service.service.upload.UploadClient;
import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

@Component
public class AliYunOSSClient extends UploadClient {

    @Override
    public ApiResult uploadFile(MultipartFile file) {
        return null;
    }

    @Override
    public ApiResult keepUploadFile(Chunk chunk) {
        return null;
    }

    @Override
    public ApiResult readyUpload(MultipartFile file) {
        return null;
    }

    @Override
    public ApiResult uploadSuccess(ApiResult apiResult, MultipartFile file) {
        return null;
    }

    @Override
    public void uploadError(ApiResult result) {

    }

    @Override
    public ApiResult deleteFile(Map<String, String> params) {
        return null;
    }

    @Override
    public Map<String,Object>  checkFileIsExistByMd5(String md5) {
        return null;
    }
}
